package com.example.service.Impl;

import com.example.feign.StudentService;
import com.example.feign.entity.Student;
import com.example.service.CourseService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author T
 * @description
 * @date 2025年03月05日 23:17
 */
@Service
@Slf4j
public class CourseServiceImpl implements CourseService {

    @Resource
    private StudentService studentService;

    @Override
    public void getCourseById(Long id) {
        //查用用户
        Student studentById = studentService.getStudentById(id);
        log.info("ID {} ，学生信息 ：{}", id , studentById);
    }

}
